package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 信标数据明细对象 rp_realtimedata
 * 
 * @author ruoyi
 * @date 2021-10-29
 */
public class RpRealtimedata extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long ID;

    /** 信标数据主键 */
    @Excel(name = "信标数据主键")
    private String rpId;

    /** 剂量计激活ID */
    @Excel(name = "剂量计激活ID")
    private String rpRlid;

    /** 厂房编码 */
    @Excel(name = "厂房编码")
    private String rpPlant;

    /** 剂量计编号 */
    @Excel(name = "剂量计编号")
    private String rpCode;

    /** 剂量计IP */
    @Excel(name = "剂量计IP")
    private String rpIp;

    /** 剂量计当前电量 */
    @Excel(name = "剂量计当前电量")
    private Long rpPower;

    /** 剂量计编码 */
    @Excel(name = "剂量计编码")
    private String rpDosimeter;

    /** 实时剂量值 */
    @Excel(name = "实时剂量值")
    private BigDecimal rpDosevalue;

    /** 实时剂量率值 */
    @Excel(name = "实时剂量率值")
    private BigDecimal rpDoserate;

    /** 计量报警值 */
    @Excel(name = "计量报警值")
    private BigDecimal rpDosealarm;

    /** 计量预报警值 */
    @Excel(name = "计量预报警值")
    private BigDecimal rpDosewarning;

    /** 剂量率报警值 */
    @Excel(name = "剂量率报警值")
    private BigDecimal rpRatealarm;

    /** 剂量率预报警值 */
    @Excel(name = "剂量率预报警值")
    private BigDecimal rpRatewarning;

    /** 蓝牙信标点编码 */
    @Excel(name = "蓝牙信标点编码")
    private String rpBluetooth;

    /** 适配器数据包实时时间（间隔5s） */
    @Excel(name = "适配器数据包实时时间", readConverterExp = "间=隔5s")
    private Date rpDate;

    /** 测量值是否报警 */
    @Excel(name = "测量值是否报警")
    private String rpRatecode;

    public void setID(Long ID) 
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }
    public void setRpId(String rpId) 
    {
        this.rpId = rpId;
    }

    public String getRpId() 
    {
        return rpId;
    }
    public void setRpRlid(String rpRlid) 
    {
        this.rpRlid = rpRlid;
    }

    public String getRpRlid() 
    {
        return rpRlid;
    }
    public void setRpPlant(String rpPlant) 
    {
        this.rpPlant = rpPlant;
    }

    public String getRpPlant() 
    {
        return rpPlant;
    }
    public void setRpCode(String rpCode) 
    {
        this.rpCode = rpCode;
    }

    public String getRpCode() 
    {
        return rpCode;
    }
    public void setRpIp(String rpIp) 
    {
        this.rpIp = rpIp;
    }

    public String getRpIp() 
    {
        return rpIp;
    }
    public void setRpPower(Long rpPower) 
    {
        this.rpPower = rpPower;
    }

    public Long getRpPower() 
    {
        return rpPower;
    }
    public void setRpDosimeter(String rpDosimeter) 
    {
        this.rpDosimeter = rpDosimeter;
    }

    public String getRpDosimeter() 
    {
        return rpDosimeter;
    }
    public void setRpDosevalue(BigDecimal rpDosevalue) 
    {
        this.rpDosevalue = rpDosevalue;
    }

    public BigDecimal getRpDosevalue() 
    {
        return rpDosevalue;
    }
    public void setRpDoserate(BigDecimal rpDoserate) 
    {
        this.rpDoserate = rpDoserate;
    }

    public BigDecimal getRpDoserate() 
    {
        return rpDoserate;
    }
    public void setRpDosealarm(BigDecimal rpDosealarm) 
    {
        this.rpDosealarm = rpDosealarm;
    }

    public BigDecimal getRpDosealarm() 
    {
        return rpDosealarm;
    }
    public void setRpDosewarning(BigDecimal rpDosewarning) 
    {
        this.rpDosewarning = rpDosewarning;
    }

    public BigDecimal getRpDosewarning() 
    {
        return rpDosewarning;
    }
    public void setRpRatealarm(BigDecimal rpRatealarm) 
    {
        this.rpRatealarm = rpRatealarm;
    }

    public BigDecimal getRpRatealarm() 
    {
        return rpRatealarm;
    }
    public void setRpRatewarning(BigDecimal rpRatewarning) 
    {
        this.rpRatewarning = rpRatewarning;
    }

    public BigDecimal getRpRatewarning() 
    {
        return rpRatewarning;
    }
    public void setRpBluetooth(String rpBluetooth) 
    {
        this.rpBluetooth = rpBluetooth;
    }

    public String getRpBluetooth() 
    {
        return rpBluetooth;
    }
    public void setRpDate(Date rpDate) 
    {
        this.rpDate = rpDate;
    }

    public Date getRpDate() 
    {
        return rpDate;
    }
    public void setRpRatecode(String rpRatecode) 
    {
        this.rpRatecode = rpRatecode;
    }

    public String getRpRatecode() 
    {
        return rpRatecode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("rpId", getRpId())
            .append("rpRlid", getRpRlid())
            .append("rpPlant", getRpPlant())
            .append("rpCode", getRpCode())
            .append("rpIp", getRpIp())
            .append("rpPower", getRpPower())
            .append("rpDosimeter", getRpDosimeter())
            .append("rpDosevalue", getRpDosevalue())
            .append("rpDoserate", getRpDoserate())
            .append("rpDosealarm", getRpDosealarm())
            .append("rpDosewarning", getRpDosewarning())
            .append("rpRatealarm", getRpRatealarm())
            .append("rpRatewarning", getRpRatewarning())
            .append("rpBluetooth", getRpBluetooth())
            .append("rpDate", getRpDate())
            .append("rpRatecode", getRpRatecode())
            .toString();
    }
}
